package com.item.dao;

import com.item.dao.model.Unread;
import com.item.dao.model.UnreadExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UnreadMapper {
    int countByExample(UnreadExample example);

    int deleteByExample(UnreadExample example);

    int deleteByPrimaryKey(String userid);

    int insert(Unread record);

    int insertSelective(Unread record);

    List<Unread> selectByExample(UnreadExample example);

    Unread selectByPrimaryKey(String userid);

    int updateByExampleSelective(@Param("record") Unread record, @Param("example") UnreadExample example);

    int updateByExample(@Param("record") Unread record, @Param("example") UnreadExample example);

    int updateByPrimaryKeySelective(Unread record);

    int updateByPrimaryKey(Unread record);
}